/**
  ******************************************************************************
  * @file    Display.c  
  * @author  Dajin Li
  * @version V0.0.1
  * @date    08-08-2015 
  * @brief   This file contains headers for element struct
  *          
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; KION(SZ) R&D Center
  *
  * Licensed under KION, (the "License");
  *
  ******************************************************************************
  */
/* Includes ------------------------------------------------------------------*/

#include "resource.h"

const char battery_charge_fault[] = "Battery charge low.";
const char low_fuel_fault[] = "Low fuel!";
const char service_brake_fault[] = "Service brake!";
const char control_fault[] = "Controller fault!";
const char motor_overtemp_fault[] = "Motor overtemp!";
const char low_oil_pressure_fault[] = "Low oil pressure!";
const char Return_to_operate_fault0[] = "Return to";
const char Return_to_operate_fault1[] = "operating position.";
const char tilt_memory[] = "Tilt memory";
const char seat_belt_monitoring[] = "Seat belt monitoring";
const char steering_angle_sns[] = "Steering Angle Sensor";

const char Trans_overtemp_fault[] = "Trans. overtemp!";
const char engine_overtemp_fault[] = "Engine overtemp!";
const char Hyd_overtemp_fault[] = "Hydraulic overtemp!";
const char Fasten_belt_fault[] = "Fasten belt!";
const char Parking_brake_set_fault[] = "Parking brake set!";

const char pwd_not_correct[] = "Password not correct!";
const char pwd_not_match[] = "Password not macth!";
const char pwd_set_ok[] = "Password set ok!";

const char ok_str[] = "OK";
const char not_ok_str[] = "Not OK";




const char no_active_error_msg[] = "No active errors!";
const char no_history_error_msg[] = "No history errors!";
const char no_ack_error_msg[] = "No ack errors!";
const char no_connection_error_msg[] = "No connection!";

const char no_stored_error_msg[] = "No stored errors!";

const char Cal_fail_reason_head[] = "Possible causes                         Action                                  Button";
const char Cal_fail_reason_1[] =    "1. Ignition OFF                         Turn ignition on                        Repeat";
const char Cal_fail_reason_2[] =    "2. Interrupted diagnosis connection     Check connection                        Repeat";

const char Cal_cmd_OK[] = "OK";
const char Cal_cmd_Reset[] = "Reset";

const char Cal_job_ok[] = "Job finished!";
const char Cal_job_fail[] = "Calibration Failed!";
const char Cal_job_doing_1[] = "Calibration is ongoing,";
const char Cal_job_doing_2[] = "Please Wait!";
const char Cal_timeout[] = "Calibration timeout!";

const char Accelerator_cal_inst_page1_0[] = "Set the truck to the following condition:";
const char Accelerator_cal_inst_page1_1[] = "1. Key switch ON";
const char Accelerator_cal_inst_page1_2[] = "2. Parking brake applied";
const char Accelerator_cal_inst_page1_3[] = "3. Seatswitch applied";
const char Accelerator_cal_inst_page1_4[] = "4. Accelerator not actuated and within tolerance";

const char Steering_angle_sns_cal_inst_page1_4[] = "4. Steering against left-hand mechanical limit stop";
const char Steering_angle_sns_cal_inst_page2_4[] = "4. Steering against right-hand mechanical limit stop";

const char Joysticks_cal_inst_page1_0[] = "To perform calibration, set the truck as follows:";
const char Joysticks_cal_inst_page1_1[] = "1. Joysticks in neutral position";

const char Tilt_angle_sns_cal_inst_warning_0[] = "Warning!";
const char Tilt_angle_sns_cal_inst_warning_1[] = "Teaching of the tilt angle sensor is a safety-critical operation.";
const char Tilt_angle_sns_cal_inst_warning_2[] = "This adjustment is to be";
const char Tilt_angle_sns_cal_inst_warning_3[] = "made by trained staff only.Final stops are deactivated during teaching.";
const char Tilt_angle_sns_cal_inst_warning_4[] = "Observe the combination of";
const char Tilt_angle_sns_cal_inst_warning_5[] = "truck and mast as well as probable additionale quipment(e.g. wipers) and mounted implements";
const char Tilt_angle_sns_cal_inst_warning_Accept[] = "Accept";

const char Tilt_angle_sns_cal_inst_page1_0[] = "To perform calibration, set the truck as follows:";
const char Tilt_angle_sns_cal_inst_page1_1[] = "1. Truck stationary";
const char Tilt_angle_sns_cal_inst_page1_2[] = "2. Joysticks in neutral position";
const char Tilt_angle_sns_cal_inst_page1_3[] = "3. Seat switch actuated";

const char Tilt_angle_sns_cal_inst_page2_0[] = "1. Set the truck to the desired rear limit position";
const char Tilt_angle_sns_cal_inst_page2_1[] = "2. Memorize the limit position reached in the controller";

const char Tilt_angle_sns_cal_inst_page3_0[] = "1. Set the truck to the desired front limit position";
const char Tilt_angle_sns_cal_inst_page3_1[] = "2. Memorize the limit position reached in the controller";


//BR1285

const char BR1285_Trac_throttle_cal_warn_0[] = "Set the truck to the following condition:";
const char BR1285_Trac_throttle_cal_warn_1[] = "1. Key switch ON";
const char BR1285_Trac_throttle_cal_warn_2[] = "2. Parking brake applied";
const char BR1285_Trac_throttle_cal_warn_3[] = "3. Seatswitch applied";
const char BR1285_Trac_throttle_cal_warn_4[] = "4. Accelerator not actuated and within tolerance";


const char BR1285_Trac_throttle_cal_inst_page1_0[] = "Depress the traction throttle pedal to MINIMUM forward value";
const char BR1285_Trac_throttle_cal_inst_page2_0[] = "Depress the traction throttle pedal to MAXIMUM forward value";
const char BR1285_Trac_throttle_cal_inst_page3_0[] = "Depress the traction throttle pedal to MINIMUM backward value";
const char BR1285_Trac_throttle_cal_inst_page4_0[] = "Depress the traction throttle pedal to MAXIMUM backward value";


const char BR1285_Steer_cal_warn_0[] = "Set the truck to the following condition:";
const char BR1285_Steer_cal_warn_1[] = "1. Key switch ON";
const char BR1285_Steer_cal_warn_2[] = "2. Parking brake applied";
const char BR1285_Steer_cal_warn_3[] = "3. Seatswitch applied";
const char BR1285_Steer_cal_warn_4[] = "4. Accelerator not actuated and within tolerance";


const char BR1285_Steer_cal_inst_page1_0[] = "Move the wheel to straight position";
const char BR1285_Steer_cal_inst_page2_0[] = "Move the wheel to maximum right position";
const char BR1285_Steer_cal_inst_page3_0[] = "Move the wheel to maximum left position";



const char BR1285_Lift_throttle_cal_warn_0[] = "Set the truck to the following condition:";
const char BR1285_Lift_throttle_cal_warn_1[] = "1. Key switch ON";
const char BR1285_Lift_throttle_cal_warn_2[] = "2. Parking brake applied";
const char BR1285_Lift_throttle_cal_warn_3[] = "3. Seatswitch applied";
const char BR1285_Lift_throttle_cal_warn_4[] = "4. Accelerator not actuated and within tolerance";


const char BR1285_Lift_throttle_cal_inst_page1_0[] = "Move lift lever to MINIMUM value";
const char BR1285_Lift_throttle_cal_inst_page2_0[] = "Move lift lever to MAXIMUM value";


char osha_msg_1[] = "External fluid leakage (check for leaks)";
char osha_msg_2[] = "Rear tires (pressure, damage, wear, fasteners)";
char osha_msg_3[] = "Overhead guard (damage, cracks, loose fasteners)";
char osha_msg_4[] = "Front tires (pressure, damage, wear, fasteners)";
char osha_msg_5[] = "Tilt cylinders (damage, leaks, loose fittings)";
char osha_msg_6[] = "Mast (damage, wear, cracks, loose fasteners)";
char osha_msg_7[] = "Lift cylinders (damage, leaks, loose fittings)";
char osha_msg_8[] = "Carriage/load backrest (damage, loose fasteners)";
char osha_msg_9[] = "Forks/attachment (damage, cracks, excessive wear)";
char osha_msg_10[] = "Fork locking pins (check operation)";
char osha_msg_11[] = "Seat and seat belt (check operation, damage, excessive wear)";
char osha_msg_12[] = "Hydraulic oil (check level)";
char osha_msg_13[] = "Steer axle and steer wheel (check for damage)";
char osha_msg_14[] = "Hood latch (check operation)";
char osha_msg_15[] = "Warning decals / Operator's manual (damaged/missing, legible)";
char osha_msg_16[] = "Data plate / Capacity plate (damaged/missing, legible)";
char osha_msg_17[] = "Battery connectors and cables (damage, cracks, pitting)";
char osha_msg_18[] = "Battery retainer (check operation, damage)";
char osha_msg_19[] = "Battery case and vent caps (damage, cracks, loose)";
char osha_msg_20[] = "Pre-filter element, air filter, and fan belt (debris, wear, cracks)";
char osha_msg_21[] = "Exhaust (check for damage or obstructions)";
char osha_msg_22[] = "Fuel (fuel level, leaks, tank retention straps)";
char osha_msg_23[] = "Engine (check oil, coolant, and brake fluid levels)";
char osha_msg_24[] = "KNA to add additional default questions";
char osha_msg_25[] = "KNA to add additional default questions";
char osha_msg_26[] = "KNA to add additional default questions";
char osha_msg_27[] = "KNA to add additional default questions";
char osha_msg_28[] = "KNA to add additional default questions";
char osha_msg_29[] = "KNA to add additional default questions";
char osha_msg_30[] = "KNA to add additional default questions";

const char display_fault_0101[] = "Low voltage";
const char display_fault_0102[] = "High Voltage";
const char display_fault_0103[] = "EEPROM fault";
const char display_fault_0104[] = "Speed sensor fault";
const char display_fault_0105[] = "RFID timeout";
const char display_fault_0106[] = "RFID mark fault";
const char display_fault_0262[] = "CAN1 busoff fault";   // for CANopen
const char display_fault_0261[] = "CAN2 busoff fault";   // for J1939
const char display_fault_0301[] = "Pedal ratio exceeds the limit";   // for BR1219 Option"Pedal ratio limit"
const char display_fault_code_prefix[] = "D";
const char p_code[] = "P";
const char spn_fmi[] = "SPN-FMI:";
const char tractionfault_prefix[] = "T";
const char liftfault_prefix[] = "L";
const char truckfault_prefix[] = "";

